<!DOCTYPE html>
<html class=""><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
<meta name="renderer" content="webkit">
<title>登录 - Nuke中文社区</title>
<meta name="keywords" content="Nuke,NukeStudio,Nuke插件,Nuke教程,Nuke帮助,Nuke合成,Nuke知识,NUKE问答">
<meta name="description" content="Nuke中文学习学习提问交流社区">
<!-- base href="http://nuke.cgspread.com/" --><!--[if IE]></base><![endif]-->
<link href="http://nuke.cgspread.com/static/css/default/img/favicon.ico?v=20141121" rel="shortcut icon" type="image/x-icon">
<import type='css' file="Css.bootstrap" />

<import type='css' file="Css.icon" />

<import type='css' file="Css.common" />

<import type='css' file="Css.link" />

<import type='css' file="Css.style" />

<import type='css' file="Css.login" />

<script type="text/javascript">
	var _224E997936874A8B2ACC851D0F9CB5D9='';
	var G_POST_HASH=_224E997936874A8B2ACC851D0F9CB5D9;
	var G_INDEX_SCRIPT = '';
	var G_SITE_NAME = 'Nuke中文社区';
	var G_BASE_URL = 'http://nuke.cgspread.com';
	var G_STATIC_URL = 'http://nuke.cgspread.com/static';
	var G_UPLOAD_URL = 'http://nuke.cgspread.com/uploads';
	var G_USER_ID = '';
	var G_USER_NAME = '';
	var G_UPLOAD_ENABLE = 'N';
	var G_UNREAD_NOTIFICATION = 0;
	var G_NOTIFICATION_INTERVAL = 100000;
	var G_CAN_CREATE_TOPIC = '';
	
	</script>
<import type='js' file="js.jquery" />

<import type='js' file="js.jquery_002" />

<import type='js' file="js.plug-in_module" />

<import type='js' file="js.aws" />

<import type='js' file="js.aw_template" />

<import type='js' file="js.app" />

<import type='js' file="js.md5" />

<import type='js' file="js.compatibility" />
<!-- <script type="text/javascript" src="%E7%99%BB%E5%BD%95%20-%20Nuke%E4%B8%AD%E6%96%87%E7%A4%BE%E5%8C%BA_files/compatibility.js"></script> -->
<!--[if lte IE 8]>
	<script type="text/javascript" src="http://nuke.cgspread.com/static/js/respond.js"></script>
<![endif]-->
<style type="text/css">
	.fancybox-margin{margin-right:17px;}
	#user{
	width:20px;height:20px;
	position: relative;
	left: 270px;
	bottom:35px;
	display: block;
	/*background: red url() 0 0 no-repeat;*/
	}
	#info{
		width:300px;height:30px;
		display: block;
		position: relative;
		left: 320px;
		bottom: 55px;
		/*background: red url() 0 0 no-repeat;*/
	}
	#password{
	width:20px;height:20px;
	position: relative;
	left: 270px;
	bottom:30px;
	display: block;
	/*background: red url() 0 0 no-repeat;*/
	}
	#info_password{
		width:300px;height:30px;
		display: block;
		position: relative;
		left: 320px;
		bottom: 30px;
		/*background: red url() 0 0 no-repeat;*/
	}

</style></head>
<body><noscript unselectable="on" id="noscript">
    <div class="aw-404 aw-404-wrap container">
        <img src="http://nuke.cgspread.com/static/common/no-js.jpg">
        <p>你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!</p>
    </div>
</noscript>
<div id="wrapper">
	<div class="aw-login-box">
		<div class="mod-body clearfix">
			<div class="content pull-left">
				<h1 class="logo"><a href=""></a></h1>
				<h2>Nuke中文社区</h2>
				<form id="login_form" method="post"  action="{:U('index/Login/index')}">
					<input name="return_url" value="http://nuke.cgspread.com/" type="hidden">
					<ul>
						<li >
							<input id="aw-login-user-name" class="form-control" placeholder="邮箱 / 用户名" name="username" type="text">
							<i id="user" ></i>
							
						</li>
						<i id="info"></i>
						<li>
							<input id="aw-login-user-password" class="form-control" placeholder="密码" name="password" type="password">
							<!-- <i id="password" ></i> -->
						</li>
						<i id="info_password"></i>
						<li class="alert alert-danger hide error_message">
							<i class="icon icon-delete"></i> <em></em>
						</li>
						<li class="last">
							<!-- <a href="javascript:;" onclick="AWS.ajax_post($('#login_form'), AWS.ajax_processer, 'error_message');" id="login_submit" class="pull-right btn btn-large btn-primary">登录</a> -->
							<input type="button" value="登陆" id="submit" return="false" class="pull-right btn btn-large btn-primary">
							<label>
								<input value="1" name="net_auto_login" type="checkbox">
								记住我							</label>
							<a href="http://nuke.cgspread.com/account/find_password/">&nbsp;&nbsp;忘记密码</a>
						</li>
					</ul>
				</form>
			</div>
		<!-- 	<div class="side-bar pull-left">
				
					
											<a href="http://nuke.cgspread.com/account/openid/sina/return_url-aHR0cDovL251a2UuY2dzcHJlYWQuY29tLw==" class="btn btn-block btn-weibo"><i class="icon icon-weibo"></i> 新浪微博登录</a>
					
											<a href="http://nuke.cgspread.com/account/openid/qq_login/return_url-aHR0cDovL251a2UuY2dzcHJlYWQuY29tLw==" class="btn btn-block btn-qq"><i class="icon icon-qq"></i> QQ 登录</a>
						
			</div> -->
		</div>

		<div class="mod-footer">
			<span>还没有账号?</span>&nbsp;&nbsp;
			<a href="{:U('index/Register/index')}">立即注册</a>&nbsp;&nbsp;•&nbsp;&nbsp;
			<a href="">游客访问</a>&nbsp;&nbsp;•&nbsp;&nbsp;
			<a href="http://nuke.cgspread.com/reader/">问答阅读</a>
		</div>
	</div>
</div>

<script type="text/javascript" src="%E7%99%BB%E5%BD%95%20-%20Nuke%E4%B8%AD%E6%96%87%E7%A4%BE%E5%8C%BA_files/login.js"></script>


<footer class="footer " style="margin-top:20px;">
 <div class="footer-top">
  <div class="container">
    <div class="row footer-top">
      <div class="col-sm-6 col-lg-6">
        <h4>
          <img src="__PUBLIC__/Images/logofooter.png">
        </h4>
        <p>Nuke中文社区，中国合成师专属知识库和交流平台。</p>
      </div>
      <div class="col-sm-6  col-lg-5 col-lg-offset-1">
        <div class="row about">
          <div class="col-xs-4 col-md-3">
            <h4>关于</h4>
            <ul class="list-unstyled">
              <li><a href="http://www.cgspread.com/about" target="_blank">关于我们</a></li>
              <li><a href="http://www.cgspread.com/comments" target="_blank">广告合作</a></li>
            </ul>
          </div>
          <div class="col-xs-4 col-md-3">
            <h4>联系方式</h4>
            <ul class="list-unstyled">
              <li><a href="http://weibo.com/weijer" title="站长微博" target="_blank">新浪微博</a></li>
              <li><a href="http://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&amp;email=M0RWWkRWWgIFAHNVXEteUlpfHVBcXg" target="_blank">联系我们</a></li>
            </ul>
          </div>
          <div class="col-xs-4 col-md-3">
            <h4>合作伙伴</h4>
            <ul class="list-unstyled"> 
              <li><a href="http://www.thefoundry.co.uk/" target="_blank">Nuke中国</a></li>
            </ul>
          </div>
          <div class="col-md-3 hidden-xs">
            <h4>友情链接</h4>
            <ul class="list-unstyled">
              <li><a href="http://www.cgspread.com/" target="_blank">CG分享</a></li>
              
            </ul>
          </div>
        </div>

      </div>
    </div>
  </div>

<div class="aw-footer-wrap">	<div class="aw-footer">		Copyright © 2016<span class="hidden-xs"> - 湘ICP备13011404-1号 , All Rights Reserved</span>		<span class="hidden-xs">Powered By <a href="http://www.wecenter.com/?copyright" target="blank">WeCenter</a></span>&nbsp;</div></div><a class="aw-back-top hidden-xs" href="javascript:;" onclick="$.scrollTo(1, 600, {queue:true});"><i class="icon icon-up"></i></a><!-- DO NOT REMOVE --><div id="aw-ajax-box" class="aw-ajax-box"></div><!-- Escape time: 0.017106056213379 --><!-- / DO NOT REMOVE -->
</div>
</footer></body></html>
<script type="text/javascript">
	$(document).ready(function() {
		//用户验证
		$("#aw-login-user-name").blur(function(){
			var data =$(this).val();
			var info ="用户名不正确,请重新输入!";
			checkajax("#user",data,info);
		});
		$("#aw-login-user-name").focus(function() {
			$('#user').empty();
			$('#info').empty();
		});

		// 密码验证
		$("#submit").click(function(){

			var data =$("#aw-login-user-name").val();
			var data_password =$("#aw-login-user-password").val();
			var info_password ="密码不正确,请重新输入!";
			$.ajax({
				url: '__ROOT__/index.php/index/Login/password_ajax',
				type: 'POST',
				dataType: 'json',
				data: {user: data,password:data_password},
				success:function(info){
					if(info.error==1) {
						
						$("#info_password").html(info_password);
						$("#aw-login-user-password").focus(function() {
							$('#info_password').empty();
						});
					}else if(info.error==2){
						window.location.href='__ROOT__/index.php/index/index/Index';
					}
					
				}
			})
		});	

		function checkajax(container,data,info){
			$.ajax({
				url: '__ROOT__/index.php/index/Login/Index',
				async:true,
				type: 'POST',
				dataType: 'json',
				data: {
					username: $("#aw-login-user-name").val()

				},
				// alert(data);
				success:function(result){
				
					if (result.error==0) {
						$(container).html("<img src='__PUBLIC__/images/icon_error_s.png'>");
						$("#info").html(info);
					}else{
						$(container).html("<img src='__PUBLIC__/images/icon_right_s.png'>");
					}	
					if (result.error==1) {
						
						$("#info_password").html(info_password);
					};
				},
				error:function(errormsg){
					alert('发生异常'+errormsg.status);
				},
			});
		}
			
		


		














	})
</script>